docs: add AGENTS.md for non-interactive CLI usage#96
Open
crowlbot wants to merge 1 commit into
Open
Conversation
fa27fdd to
2ae29f3
Compare
Reference for AI agents and CI systems driving `deno deploy` without a human at the terminal. Documents: - Token authentication (env var, --token, keychain) and the "never opens a browser" guarantee when a token is supplied explicitly. - The global flag set: --json, --non-interactive (with -y/--yes aliases), --quiet, --debug, --endpoint, --token, --config. - The exit-code taxonomy (OK=0, GENERIC=1, USAGE=2, AUTH=3, NOT_FOUND=4, CONFLICT=5, NETWORK=6) and how to consume it. - The structured error envelope on stderr. - JSON output schemas for every command that already emits JSON: whoami, orgs list, apps list, deployments list, env list, database list/query, publish, create (--dry-run and the github source), and the NDJSON shape for logs. - Non-interactive flag coverage matrix per subcommand. - Stdio discipline rules. - Five copy-pasteable example flows: auth check, create + publish, re-deploy to existing app, env load, pagination, AWS setup. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This was referenced May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #95 (→ #94 → #93 → #92 → #91). Reference document for AI agents and CI systems driving
deno deploywithout a human at the terminal.Complements per-command
--helpby capturing the conventions that span every subcommand and that aren't obvious without reading the source.What's in this PR
Test plan
🤖 Generated with Claude Code